from .flask_bootstrap import bootstrap
from .flask_debugtoolbar import debug_toolbar
from .flask_login import login_manager
from .flask_saved import storage
from .flask_wtf import csrf
from .flask_sqlalchemy import db
from .flask_migrate import migrate


def register_extends(app):
    bootstrap.init_app(app)
    debug_toolbar.init_app(app)
    login_manager.init_app(app)
    storage.init_app(app)
    csrf.init_app(app)
    db.init_app(app)
    migrate.init_app(app, db)
